import re
pattern = r'\d+'
text = "我的电话号码是1234567890"
matches = re.findall(pattern, text)
print(matches)